<template>
  <div>
    <div id="feat">
      <p>
        <router-link :to="{ name: 'askDoctor' }"
          ><van-icon name="arrow-left"
        /></router-link>
      </p>
      <p>+关注</p>
      <p><van-icon name="guide-o" /></p>
    </div>

    <van-tabs v-model="active">
      <van-tab title="项目">
        <div id="pace">
          <p>项目</p>
          <p>全部项目</p>
        </div>
        <div id="next" v-for="v in 6" :key="v">
          <p></p>
          <p>【面部填充】自体脂肪填充单部位</p>
          <p>券后￥450/次</p>
          <p>1234人订阅</p>
          <p>定金满199减30花呗金</p>
          <p>优惠</p>
          <p>吴勇</p>
          <p>河南彗星美疗馆</p>
        </div>
      </van-tab>

      <van-tab title="案例">
            <div id="pace">
             <p>案例</p>
             <p>全部案例</p>
            </div>
            <div id="fore">
               <div id="fores" v-for="van in 6" :key="van">
                <p></p> <p>内容</p> <p>三千世界</p> <p>观看:8202</p>
               </div>
            </div>
      </van-tab>
      <van-tab title="发表">
         <div id="pace">
          <p>医生发表</p>
          <p>全部发表</p>
        </div>
        <div id="val" v-for="a in 4" :key="a">
            <p>观点</p>
            <p>为了拥有好看鼻子的女生能有多卷</p>
            <p>8080</p>
        </div>
      </van-tab>
    </van-tabs>
  </div>
</template>

<script>
export default {
  data() {
    return {
      active: 2,
    };
  },
};
</script>

<style>
#pace {
  height: 100px;
  width: 100%;
}
#pace :nth-child(1) {
  float: left;
  font-size: 35px;
  margin-left: 30px;
  margin-top: 15px;
}
#pace :nth-child(2) {
  float: right;
  font-size: 33px;
  margin-right: 30px;
  margin-top: 20px;
  color: #ced5e1;
}
#next {
  height: 230px;
  width: 80%;
  margin-left: 10%;
  position: relative;
}
#next :nth-child(1) {
  height: 220px;
  width: 220px;
  position: absolute;
  top: 4px;
  border-radius: 20px;
  background-color: #ced5e1;
}
#next :nth-child(2) {
  position: absolute;
  top: 14px;
  left: 220px;
  font-size: 20px;
}
#next :nth-child(3) {
  position: absolute;
  top: 114px;
  left: 230px;
  font-size: 20px;
  color: red;
}
#next :nth-child(4) {
  position: absolute;
  top: 114px;
  left: 400px;
  color: #ced5e1;
  font-size: 20px;
}
#next :nth-child(5) {
  position: absolute;
  top: 149px;
  left: 230px;
  font-size: 20px;
  color:  #7F6C6C;
  border-radius: 20px;
  border: 2px solid #7F6C6C ;
}
#next :nth-child(6) {
  position: absolute;
  top: 149px;
  left: 490px;
  font-size: 20px;
  color:  #6C6C6C;
  border-radius: 10px;
  border: 2px solid #6C6C6C ;
}
#next :nth-child(7) {
  position: absolute;
    top: 189px;
  left: 240px;
  color: #ced5e1;
  font-size: 20px;
}
#next :nth-child(8) {
  position: absolute;
    top: 189px;
  left: 340px;
  color: #ced5e1;
  font-size: 20px;
}
/* 头部 */
#feat {
  margin-top: 20px;
  height: 70px;
  width: 100%;
  position: relative;
}
#feat :nth-child(1) {
  color: black;
  position: absolute;
  top: 3px;
  left: 0;
}
#feat :nth-child(2) {
  height: 60px;
  width: 130px;
  text-align: center;
  line-height: 60px;
  background-color: #bebebe;
  color: white;
  position: absolute;
  top: 5px;
  right: 150px;
  font-size: 30px;
  border-radius: 32px;
}
#feat :nth-child(3) {
  text-align: center;
  line-height: 60px;
  position: absolute;
  top: 7px;
  right: 80px;
}

/* 案例 */
#pace {
  height: 100px;
  width: 100%;
  /* // background-color: bisque; */
}
#pace :nth-child(1) {
  float: left;
  font-size: 35px;
  margin-left: 30px;
  margin-top: 15px;
}
#pace :nth-child(2) {
  float: right;
  font-size: 33px;
  margin-right: 30px;
  margin-top: 20px;
  color: #ced5e1;
}


#fore{
  height: 100%;
  width: 100%;
  /* background-color: #bebebe; */
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
#fores{
  height: 450px;
  width: 330px;
  /* background-color: aliceblue; */
  position: relative;
  margin-top: 20px;
}
#fores :nth-child(1){
  position: absolute;
  top: 0px;
  left: 0px;
  height: 300px;
  width: 330px;
  border-radius: 30px;
  background-color: #7F6C6C;
}
#fores :nth-child(2){
   position: absolute;
  bottom: 90px;
  left: 10px;
  font-size: 33px;
  /* background-color: #7d1515; */
}
#fores :nth-child(3){
   position: absolute;
  bottom: 40px;
  left: 10px;
  font-size: 30px;
  color: #ced5e1;
}
#fores :nth-child(4){
   position: absolute;
  bottom: 40px;
  left: 190px;
  font-size: 30px;
  color: #ced5e1;
}

/* 发表 */
#val{
  height: 150px;
  width: 100%;
  margin-top: 10px;
  position: relative;
  /* background-color: #ced5e1;  */
border-bottom: 1px solid #9A9A9D;
}
#val :nth-child(1){
  height: 60px;
  width: 120px;
  background-color:#BEBEBE;
  text-align: center;
  line-height: 60px;
  font-size: 35px;
  color: white;
  border-radius: 20px;
  position: absolute;
  top: 10px;
  left: 10px;
}
#val :nth-child(2){
  font-size: 30px;
  position: absolute;
  top: 17px;
  left: 150px;
}
#val :nth-child(3){
  font-size: 30px;
  position: absolute;
  top: 90px;
  left: 40px;
  color: #9A9A9D;
}


</style>
